package sdiff.tests.other;

import sdiff.tests.Scam2009Tests;
import junit.framework.TestCase;

public class LdiffFinishUpTest extends TestCase
{
    public void testRemainingLdiff()
    throws Exception
    {
        String ldiffExecutable="/Users/jspacco/Colgate/projects/smallChanges/scam2009/scripts/ldiff.pl -o ext";
        if (System.getProperty("ldiff")!=null) {
            ldiffExecutable=System.getProperty("ldiff");
        }
        String dir="../Wadi/limbodata";
        for (String f : new String[] {
                "ASTResolving",
                "ArrayReference",
                "BaseTypes",
                "BuildPathsPropertyPage",
                "CPListLabelProvider",
                "DeltaProcessor",
                //"CompilationUnitDocumentProvider",
                //"DirectoryDialog",
                //"JavaCodeScanner"
                //"SaveManager",
                //"ResourceInfo",
                //"ResourceCompareInput",
                //"RefreshLocal",
                //"PluginSearchScope",
                //"DialogCustomize"
                
                /*
                "TabFolder",
                
                
                "JavaPerspectiveFactory",
                "JavaModelManager",
                "GC2",
                "GC",
                "FontData",
                "DoubleCache",
                
                */

                })
        {
            System.err.println(f);
            String filename=dir+"/"+f+".xml";
            String xmlOutfile=dir+"/"+f+"-ldiffout.xml";
            String textOutfile=dir+"/"+f+"-out-ldiff.txt";
        
            Scam2009Tests.runAllLdiffConfigurations(ldiffExecutable, filename, textOutfile,
                false, null);
        }
    }
}
